<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="icon" href="/favicon.ico" type="image/x-icon">
  <title>TerisSquare</title>
  <style>
    #root {
      display: flex;
      justify-content: center;

    }

    .tip {
      margin-left: 1em;
      border: 1px solid
    }

    .score {
      text-align: center;
      font-size: 2em;
      background: linear-gradient(to right, red, blue);
      -webkit-background-clip: text;
      background-clip: text;
      /* 将渐变应用于文本 */
      -webkit-text-fill-color: transparent;
      /* 设置文本颜色为透明 */
    }

    .panel {
      background-color: #000;
      position: relative;
    }

    .next {
      position: relative;
    }

    .desc {
      border: 1px solid;
      width: 616px;
      margin: 10px auto;
      padding: 5px;
      box-sizing: border-box;
    }

    .tishi {
      position: absolute;
      left: 50%;
      top: 20%;
      color: red;
      font-size: 2em;
      text-shadow: 0 0 5px 2px rgba(0, 0, 0, 1);
      transform: translateX(-50%);
      z-index: 999;
    }
  </style>
</head>

<body>
  <div id="root">
    <div class="panel">
      <div class="tishi">游戏结束</div>
    </div>
    <div class="tip">
      <div class="next"></div>
      <div class="score"></div>
    </div>
  </div>
  <div class="desc">
    ↑↓-旋转 |
    space-下落 |
    ←-左移 |
    →-右移 |
    enter-开始或暂停 |
  </div>
  <script type="module" src="/src/index.ts"></script>
</body>

</html>
